<?php

//Quick name for the directory separator.
define('DS', DIRECTORY_SEPARATOR);

//location of the system map.
define('BASE_DIR_SYSTEM', realpath(dirname(__FILE__) . DS . '..' . DS . 'system') . DS);

//only change if the dirs are in a different location.
define('BASE_DIR_LIB', BASE_DIR_SYSTEM . 'libs' . DS);
define('BASE_DIR_CONTROLLERS', BASE_DIR_SYSTEM . 'controllers' . DS);
define('BASE_DIR_CACHE', BASE_DIR_SYSTEM . 'cache' . DS);
define('BASE_DIR_VIEW', BASE_DIR_SYSTEM . 'views' . DS);
define('BASE_DIR_CONFIG', BASE_DIR_SYSTEM . 'config' . DS);

//including the base class of BaseMvc
include_once BASE_DIR_LIB . 'basemvc' . DS . 'BaseMvc.php';